import { useNavigate } from "react-router-dom";
import { Button, Result } from "antd";


const NotFoundPage = () => {
  const navigate = useNavigate();
  return (
    <Result
      status="404"
      title="404"
      subTitle="not found"
      extra={
        <Button type="primary" onClick={() => navigate("/login")}>
          {"back Home"}
        </Button>
      }
    ></Result>
  );
};

export default NotFoundPage;
